<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<!DOCTYPE HTML>
<html><head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
        <title>后台登录</title>
        <link rel="stylesheet" type="text/css" href="${path }/resource/css/adminlogin.css">
    </head>
    <body>
        <form id="login" action="${path}/j_spring_security_check" method="post">
            <h1>后台登录</h1>
            <fieldset id="inputs">
                <input id="username" name="j_username" type="text" placeholder="请输入用户名" autofocus required>   
                <input id="password" name="j_password" type="password" placeholder="请输入密码" required>
            </fieldset>
            <fieldset id="actions">
                <input type="submit" id="submit" value="登录">
            </fieldset>
            <a href="${path}" id="back">返回首页</a>
        </form>
    </body>
</html>
